home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Libraries / tcl7.4b3 / doc / time.n < prev    next >
Encoding:
Text File  |  1994-12-17  |  894 b   |  34 lines

  1. '\"
  2. '\" Copyright (c) 1993 The Regents of the University of California.
  3. '\" Copyright (c) 1994 Sun Microsystems, Inc.
  4. '\"
  5. '\" See the file "license.terms" for information on usage and redistribution
  6. '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  7. '\" 
  8. '\" @(#) time.n 1.2 94/12/17 16:19:03
  9. '\" 
  10. .so man.macros
  11. .HS time tcl
  12. .BS
  13. '\" Note:  do not modify the .SH NAME line immediately below!
  14. .SH NAME
  15. time \- Time the execution of a script
  16. .SH SYNOPSIS
  17. \fBtime \fIscript\fR ?\fIcount\fR?
  18. .BE
  19.  
  20. .SH DESCRIPTION
  21. .PP
  22. This command will call the Tcl interpreter \fIcount\fR
  23. times to evaluate \fIscript\fR (or once if \fIcount\fR isn't
  24. specified).  It will then return a string of the form
  25. .DS
  26. \fB503 microseconds per iteration\fR
  27. .DE
  28. which indicates the average amount of time required per iteration,
  29. in microseconds.
  30. Time is measured in elapsed time, not CPU time.
  31.  
  32. .SH KEYWORDS
  33. script, time
  34.